package modex;

public class Paragraphe {

	private int idParagraphe = 0;
	private String xPath = "";
	private int idDocument = 0;
	// Nb total de termes dans le paragraphe
	private int nbTermes = 0;
	
	public Paragraphe() {
		this.nbTermes = 0; // Nouveau paragraphe
	}
	
	public Paragraphe(int idP, String path, int idD) {
		this.idParagraphe = idP;
		this.xPath = path;
		this.idDocument = idD;
		this.nbTermes = 0; // Nouveau paragraphe
	}

	public int getIdParagraphe() {
		return idParagraphe;
	}

	public void setIdParagraphe(int idParagraphe) {
		this.idParagraphe = idParagraphe;
	}

	public String getxPath() {
		return xPath;
	}

	public void setxPath(String xPath) {
		this.xPath = xPath;
	}

	public int getIdDocument() {
		return idDocument;
	}

	public void setIdDocument(int idDocument) {
		this.idDocument = idDocument;
	}
	public int getNbTermes() {
		return nbTermes;
	}
	public void setNbTermes(int nbTermes) {
		this.nbTermes = nbTermes;
	}

}
